#!/usr/bin/env python
from mapnik import *

mapfile = 'lenders_styles.xml'
map_output = '/var/www/lender_map.png'
projection = '+proj=latlong +datum=WGS84'
m = Map(1600, 1600)
load_map(m, mapfile)
bbox = Envelope(Coord(-87.47, 41.84), Coord(-87.95, 41.90))
m.zoom_to_box(bbox) 
render_to_file(m, map_output, 'png')

